package com.ecar.api.service.order;

import com.ecar.core.order.entity.OrderPriceDetail;

public interface OrderPriceDetailService {
	int deleteByPrimaryKey(String id);

    int insert(OrderPriceDetail record);

    int insertSelective(OrderPriceDetail record);

    OrderPriceDetail selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderPriceDetail record);

    int updateByOrderNumSelective(OrderPriceDetail record);
    
    int updateByPrimaryKey(OrderPriceDetail record);

	Double queryBlance(String driverId);
	
	OrderPriceDetail selectByOrderNum(String orderNum);
	
	int deleteByOrderNumAndIsSuccess(String orderNum,int success );
}
